package com.online.fund.spider.entity;

/**
 * 股票监听配置信息
 * 
 * @author galen.zhang
 *
 */
public class SharesMoniterConfig {

	private Long id;

	// 股票名称
	private String sharesName;

	// 股票编码
	private String sharesCode;

	// 关联id(冗余字段)
	private String refId;

	// 监听数据类型，1：股票变动百分比，2：股票变动价格
	private Integer dataMonitorType;

	private Double maxValue;

	private Double minValue;

	// 通知邮箱
	private String notifyEmail;

	// 是否启用，1：启用，2：不启用
	private Integer enabled;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSharesName() {
		return sharesName;
	}

	public void setSharesName(String sharesName) {
		this.sharesName = sharesName;
	}

	public String getSharesCode() {
		return sharesCode;
	}

	public void setSharesCode(String sharesCode) {
		this.sharesCode = sharesCode;
	}

	public Integer getDataMonitorType() {
		return dataMonitorType;
	}

	public void setDataMonitorType(Integer dataMonitorType) {
		this.dataMonitorType = dataMonitorType;
	}

	public Double getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(Double maxValue) {
		this.maxValue = maxValue;
	}

	public Double getMinValue() {
		return minValue;
	}

	public void setMinValue(Double minValue) {
		this.minValue = minValue;
	}

	public String getNotifyEmail() {
		return notifyEmail;
	}

	public void setNotifyEmail(String notifyEmail) {
		this.notifyEmail = notifyEmail;
	}

	public Integer getEnabled() {
		return enabled;
	}

	public void setEnabled(Integer enabled) {
		this.enabled = enabled;
	}

	public String getRefId() {
		return refId;
	}

	public void setRefId(String refId) {
		this.refId = refId;
	}

	@Override
	public String toString() {
		return "SharesMoniterConfig [id=" + id + ", sharesName=" + sharesName + ", sharesCode=" + sharesCode
				+ ", refId=" + refId + ", dataMonitorType=" + dataMonitorType + ", maxValue=" + maxValue + ", minValue="
				+ minValue + ", notifyEmail=" + notifyEmail + ", enabled=" + enabled + "]";
	}

}
